# range(3)=0，1，2
for x in range(3):
    print(x)
# range(3,5)=3,4
for x in range(3, 5):
    print(x)
# 数组
for x in [1, 2, 3]:
    print(x)
#   字符串
for x in "hello":
    print(x)
n = 1
SUM = 0
while n <= 10:
    SUM = SUM + n
    print(SUM)
    n += 1
